package nl.saxion.saktiehuis.util;

public abstract class AbstractServiceImpl<T> implements AbstractService<T> {

	@Override
	public abstract AbstractDao<T> getDao();

	@Override
	public void save(T object) {
		getDao().save(object);
	}

	@Override
	public void update(T object) {
		getDao().update(object);
	}

	@Override
	public void delete(T object) {
		getDao().delete(object);
	}

	@Override
	public void saveOrUpdate(T object) {
		getDao().saveOrUpdate(object);
	}
}
